package com.scm.biz.result;

import java.util.ArrayList;
import java.util.List;

import com.scm.biz.bean.BusinessFile;
import com.scm.biz.bean.Customer;
import com.scm.biz.bean.CustomerContact;

/**
 * 客户类的查询结果类：查询出的结果封装成这个类
 * @author Young
 * @Date 2016.11.16
 *
 */
public class CustomerResult extends Customer{

	private static final long serialVersionUID = 1L;
	
	private List<CustomerContact> contacts=new ArrayList<CustomerContact>();//联系人
	private String province;			//省份
	private String city;				//城市
	private String area;				//区县
	private List<String> productCategory=new ArrayList<String>();//产品分类
	private List<String> styleLabel=new ArrayList<String>();//标签风格
	private List<String> label=new ArrayList<String>();//标签
	private List<BusinessFile> attachment=new ArrayList<BusinessFile>();	//附件
	private int designOrderCount;		//客户设计订单数
	private int proofingOrderCount;		//客户打样订单数
	private int productionOrderCount;	//客户大货订单数
	public List<CustomerContact> getContacts() {
		return contacts;
	}
	public void setContacts(List<CustomerContact> contacts) {
		this.contacts = contacts;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public List<String> getProductCategory() {
		return productCategory;
	}
	public void setProductCategory(List<String> productCategory) {
		this.productCategory = productCategory;
	}
	public List<String> getStyleLabel() {
		return styleLabel;
	}
	public void setStyleLabel(List<String> styleLabel) {
		this.styleLabel = styleLabel;
	}
	public List<BusinessFile> getAttachment() {
		return attachment;
	}
	public void setAttachment(List<BusinessFile> attachment) {
		this.attachment = attachment;
	}
	public int getDesignOrderCount() {
		return designOrderCount;
	}
	public void setDesignOrderCount(int designOrderCount) {
		this.designOrderCount = designOrderCount;
	}
	public int getProofingOrderCount() {
		return proofingOrderCount;
	}
	public void setProofingOrderCount(int proofingOrderCount) {
		this.proofingOrderCount = proofingOrderCount;
	}
	public int getProductionOrderCount() {
		return productionOrderCount;
	}
	public void setProductionOrderCount(int productionOrderCount) {
		this.productionOrderCount = productionOrderCount;
	}
	public List<String> getLabel() {
		return label;
	}
	public void setLabel(List<String> label) {
		this.label = label;
	}
	@Override
	public String toString() {
		return "CustomerResult [contacts=" + contacts + ", province=" + province + ", city=" + city + ", area=" + area
				+ ", productCategory=" + productCategory + ", styleLabel=" + styleLabel + ", label=" + label
				+ ", attachment=" + attachment + ", designOrderCount=" + designOrderCount + ", proofingOrderCount="
				+ proofingOrderCount + ", productionOrderCount=" + productionOrderCount + ", id=" + id + ", fullname="
				+ fullname + ", abbreviation=" + abbreviation + ", category=" + category + ", level=" + level
				+ ", provinceId=" + provinceId + ", cityId=" + cityId + ", areaId=" + areaId + ", detailAddress="
				+ detailAddress + ", deliveryAddress=" + deliveryAddress + ", memo=" + memo + ", targetConsumer="
				+ targetConsumer + ", saleChannel=" + saleChannel + ", saleAmount=" + saleAmount + ", salePrice="
				+ salePrice + ", updateFrequency=" + updateFrequency + ", updateCount=" + updateCount + ", createAt="
				+ createAt + ", updateAt=" + updateAt + ", web=" + web + "]";
	}
	
}
